﻿@model Vms.Web.Models.LIB_IMG

@{
    ViewBag.Title = "Delete";
}

<h2>Delete @Model.Name</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>LIB_IMG</legend>

    <div class="display-label">Tên</div>
    <div class="display-field">
        @{string img = "/Areas/Lib/Lib_Data/Imgs/" + Model.ImgFileName;}
        <img src="@img" alt="@Model.Name" title="@Model.Name" />
    </div>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">ImgFileName</div>
    <div class="display-field">@Model.ImgFileName</div>

    <div class="display-label">Fomat</div>
    <div class="display-field">@Model.Format</div>

    <div class="display-label">Width</div>
    <div class="display-field">@Model.Width</div>

    <div class="display-label">Height</div>
    <div class="display-field">@Model.Height</div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" class="btn" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


